﻿// The using statement allow you to connect the different libraries. 
// Name that refers to a piece of code. 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ToDoApp.Models
{
    //Its accessible to the 
    // Public, Private, Protected Internal, Internal 
    public class ToDo
    {
        public string Task { get; set; } // get, set is like a pass through. When something ask to get through or set it will allow
        public string Description { get; set; }

        // This is a method inside of our ToDo class
        // This is essentially the same thing as a object contructor function
        public ToDo(string task, string description)
        {
            // this is always refers to the class in which this is in.
            this.Task = task;
            this.Description = description;
        }
        // To call this ToDo = new ToDo (params, params)


    }
}